package com.gxa.uhome.service;


import com.gxa.uhome.pojo.Admin;

import java.util.List;

/**
 * @author: qingyao
 * @date: 9:25 2021/6/9
 */
public interface AdminService {
    List<Admin> getall(Integer page, Integer size);

    List<Admin> select(String role, String realname, Integer page, Integer size);

    Integer resetpwd(Integer id);

    Integer insert(Admin admin);

    Integer update(Admin admin);

    Integer delete(Integer[] id);

    Admin login(Admin admin);

    Integer changepwd(Admin admin);

    Admin selectAdminAndMenuById(Integer id);
}
